AmeliaBooking\Application\Services\Reservation\AppointmentReservationService D

Total Complexity 253
Dependencies 36
Dependents 0
Total lines 1,731
Lines of code 1,104
Logical lines of code 417
Comment lines 306
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
21
43 202
book()
D
26
39 149
getPaymentAmount()
C
35 30 76
getWooCommerceData()
C
29 26 118
updateStatus()
B
36 17 80
checkLimitsPerCustomer()
A
46 15 39
getReservationByPayment()
A
34 10 97
manageTaxes()
A
45 11 45
getWooCommerceDataFromArray()
A
40 7 63
getBookingResultByBookingId()
A
40 7 61
updateWooCommerceOrder()
A
49 9 31
hasDoubleBookings()
S
56 7 19
getCustomFieldsJsonForService()
S
57 6 16
isDoubleBooking()
S
51 5 27
getBookingPeriods()
S
54 5 21
getProvidersPaymentAmount()
S
55 4 19
getReservationPaymentAmount()
S
63 4 10
getAppointmentPaymentAmount()
S
61 2 13
isExtraAggregatedPrice()
S
75 2 4
isAggregatedPrice()
S
81 1 3
getBookableEntity()
S
74 1 4
getReservationByBookingId()
S
75 1 4
getType()
S
82 1 3